package com.langyiquan.backed.controller;

import com.langyiquan.pojo.Carousel;
import com.langyiquan.service.UserService;
import com.langyiquan.utils.UnifyResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Api(value = "用户管理", tags = {"用户管理的相关接口"})
@RestController
@RequestMapping("user")
public class UserController {

    @Autowired
    private UserService userService;

    @ApiOperation(value = "获取用户列表",notes = "获取用户列表",httpMethod = "GET")
    @GetMapping("list")
    public UnifyResponse list(@RequestParam Integer page,@RequestParam Integer pageSize){
        return UnifyResponse.success();
    }

}
